package com.example.monitor.model.VO;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

@Data
public class WorkshopTrendVO {
    private List<String> categories; // 日期列表 ["2024-06-01", "2024-06-02", ...]
    private List<WorkshopTrendSeries> series; // 各车间数据系列

    @Data
    @AllArgsConstructor
    public static class WorkshopTrendSeries {
        private String name;     // 车间名称
        private List<Integer> data; // 每日报警数量
    }
}